<?php 
/**
 * @name wapinfohistory.php
 * @msg 手机文章表
 * @author zhouzhe@haibao.com
 * @date 2015-6-9
 */
namespace haibao\cms\model\data;
class WapInfoHistory extends Base{
	/**
	 * 文章类型 
	 */
	const INFO_TYPE_ARTICLE = 1;
	/**
	 * 图集类型
	 */
	const INFO_TYPE_IMAGE_COLLECTIVE = 2;
	
	//修改
	const OPER_TYPE_EDIT = 1;
	//删除
	const OPER_TYPE_DELETE = 2;
	
	/**
	 * 信息Id
	 */
	public $InfoId;
	
	/**
	 * 标题
	 */
	public $Title;
	
	/**
	 * 创建者Id
	 */
	public $CreateBy;
	
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	/**
	 * 发布时间
	 */
	public $PublishTime;
	
	public $InfoType;
	
	public $OperType;
	
	public $IndexTop;
	
	public $ChannelTop;
	
	/**
	 * 用户实体
	 */
	public $UserModel;
	
	public function __construct(){
		parent::__construct();
		$this->intField('InfoId', 'InfoId',true);
		$this->stringField('Title','Title',true);
		$this->intField('CreateBy', 'CreateBy',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->dateField('PublishTime', 'PublishTime',true);
		$this->intField('InfoType', 'InfoType',true);
		$this->intField('OperType', 'OperType',true);
		$this->intField('IndexTop', 'IndexTop',true);
		$this->intField('ChannelTop', 'ChannelTop',true);
		$this->setTableName ( 'WapInfoHistory' );
	}
}
?>